package cn.microven.mindmap.utils;

import javafx.scene.control.ScrollPane;
import javafx.scene.control.TreeView;



public class ComponentGetter {

    private static ScrollPane mapWrapper;

    private static TreeView treeView;

    public static ScrollPane getMapWrapper() {
        return mapWrapper;
    }

    public static TreeView getTreeView() {
        return treeView;
    }

    public static void setMapWrapper(ScrollPane mapWrapper) {
        ComponentGetter.mapWrapper = mapWrapper;
    }

    public static void setTreeView(TreeView treeView) {
        ComponentGetter.treeView = treeView;
    }
}
